package com.pine.service.pineframework;

import com.pine.common.beans.pineframework.request.SysAuthValidateCaptchaCodeRequest;
import com.pine.common.beans.pineframework.response.SysAuthGetCaptchaCodeResponse;

/**
 * <p>
 * 系统认证 服务类
 * </p>
 *
 * @author pine manage
 * @since 2024-08-21
 */
public interface SysAuthService {

    /**
     * 获取验证码
     *
     * @return 验证码信息
     */
    SysAuthGetCaptchaCodeResponse getCaptchaCode();

    /**
     * 校验验证码
     *
     * @param request 校验验证码请求体
     * @return 校验结果
     */
    Boolean validateCaptchaCode(SysAuthValidateCaptchaCodeRequest request);
}
